package jmine.tec.persist.result.domain;

import javax.persistence.Id;

import bancosys.tec.persist.bussobj.PersistableBusinessObject;

public class PersistableResult extends PersistableBusinessObject {
    private static final long serialVersionUID = 7744452181815246855L;

    private Long id;

    private PersistableResult parent;

    private double result;

    /**
     * @return the id
     */
    @Id
    public Long getId() {
        return this.id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the parent
     */
    public PersistableResult getParent() {
        return this.parent;
    }

    /**
     * @param parent the parent to set
     */
    public void setParent(PersistableResult parent) {
        this.parent = parent;
    }

    /**
     * @return the result
     */
    public double getResult() {
        return this.result;
    }

    /**
     * @param result the result to set
     */
    public void setResult(double result) {
        this.result = result;
    }
}